package S05;
public class Student extends Person { //学生类
	private String school;
	public Student() { }
	public Student(String name, int age, String school) {
		super(name, age);//必须先完成从父类继承数据的初始化
		this.school=school; //再初始化本类新增的数据
	}
	@Override
	public String whoami() {
		return "我是学生，"+super.whoami()+"，就读于"+school;
	}
}
